# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=sage-notebook-exporter
pkgver=3.3
pkgrel=5
pkgdesc="Jupyter extension to export notebooks from SageNB"
arch=(any)
url="https://github.com/vbraun/ExportSageNB"
license=(GPL3)
depends=(jupyter-nbconvert ipython python-six)
makedepends=(python-setuptools)
source=("http://mirrors.mit.edu/sage/spkg/upstream/sagenb_export/sagenb_export-$pkgver.tar.gz")
sha256sums=('b642321ccd94da4d04afa12f33b6cea7c8db289f3283c6e39b3a50131780bb5a')

package() {
  cd sagenb_export-$pkgver

  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
